package com.cleaningcloud.erp.domain.statistics;

import com.cleaningcloud.common.core.annotation.Excel;
import com.cleaningcloud.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@Data
public class StockStatistics extends BaseEntity {
    // 商品id
    private Long commodityId;
    // 库存仓库id
    private Long wareCommodityNumberId;
    // 商品名称
    @Excel(name = "商品名称")
    private String commodityName;
    // 商品编号
    @Excel(name = "商品编号")
    private String commodityNo;
    // 规格
    @Excel(name = "规格")
    private String commoditySpec;
    // 单位
    @Excel(name = "单位")
    private String unitName1;
    // 成本价
    @Excel(name = "成本价")
    private BigDecimal costPrice;
    // 期初库存
    @Excel(name = "期初库存")
    private int startNumber;
    // 期初金额
    @Excel(name = "期初金额")
    private BigDecimal startPrice;
    // 入库数量
    @Excel(name = "入库数量")
    private int realityNumber;
    // 入库金额
    @Excel(name = "入库金额")
    private BigDecimal realityPrice;
    // 销售数量
    @Excel(name = "销售数量")
    private int saleNumber;
    // 销售金额
    @Excel(name = "销售金额")
    private BigDecimal salePrice;
    // 调拨数量
    @Excel(name = "调拨数量")
    private int allocateNumber;
    // 消耗数量
    @Excel(name = "销售数量")
    private int consumeNumber;
    // 库存数量
    @Excel(name = "库存数量")
    private int commodityNumber;
    // 库存金额
    @Excel(name = "库存金额")
    private BigDecimal numberPrice;
    // 批量导出ids
    private String exportIds;
}
